
// require lib
import VueCodemirror from 'vue-codemirror'
// require styles
import 'codemirror/lib/codemirror.css'
import 'codemirror/mode/htmlmixed/htmlmixed'
import 'codemirror/mode/javascript/javascript.js'
import 'codemirror/theme/base16-dark.css'

export default {
  install: function (Vue, options) {
    Vue.use(VueCodemirror,  {
      options: {
        tabSize: 2,
        line: true,
        lineNumbers: true,
        mode: 'htmlmixed',

        readOnly: false,
        height: 'auto'
      },
      events: []
    })
  }
}
